Skip to content

Move the logic to LP TestStream encoded bytes to transform preparer - #36465

Merged
shunping merged 1 commit into
apache:masterfrom
shunping:issue-36387-followup
Oct 13, 2025
Merged

Move the logic to LP TestStream encoded bytes to transform preparer#36465
shunping merged 1 commit into
apache:masterfrom
shunping:issue-36387-followup

Conversation

@shunping

@shunping shunping commented Oct 10, 2025

Copy link
Copy Markdown
Collaborator

A follow-up PR to #36424.

Add a new transform preparer for TestStream and move the logic of LP'ing its encoded bytes there. In this case, we can modify the comps earlier during the preprocessing step and ensure they are in good shape during stage building later.

fixes #36440

@shunping shunping changed the title Move the logic to LP TestStream encoded bytes to preprocess steps. Move the logic to LP TestStream encoded bytes to transform preparer Oct 10, 2025
@shunping
shunping marked this pull request as ready for review October 10, 2025 03:48
@shunping

Copy link
Copy Markdown
Collaborator Author

R: @lostluck as it is a follow-up PR.

@github-actions

Copy link
Copy Markdown
Contributor

Stopping reviewer notifications for this pull request: review requested by someone other than the bot, ceding control. If you'd like to restart, comment assign set of reviewers

@shunping
shunping requested a review from lostluck October 11, 2025 02:40
@shunping shunping self-assigned this Oct 11, 2025

@lostluck lostluck left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@shunping

Copy link
Copy Markdown
Collaborator Author

Nice!

Great! Glad that you agree with this. I think it is clearer this way than making the adjustments while doing building descriptors (including passing extra PCollections/coder replacements around)

@shunping
shunping merged commit b5b9181 into apache:master Oct 13, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Task]: Do not mutate component coders during building stages

2 participants